<template>
  <div>
    <basic-container>数据 / 书籍 / 听书统计</basic-container>
    <basic-container>
      <avue-crud ref="crud" :data="data" :option="option" :page.sync="page">
      </avue-crud>
    </basic-container>
  </div>
</template>

<script>
export default {
  data() {
    return {
      page: {
        total: 1,
      },
      type: true,
      data: [],
      option: {
        addBtn: false,
        editBtn: false,
        viewBtn: false,
        delBtn: false,
        excelBtn: true,
        selection: true,
border: true,
        menu:false,
        column: [
          {
            label: "序号",
            prop: "column",
            type: "input",
          },
          {
            label: "日期",
            prop: "column",
            type: "input",
          },
          {
            label: "图书ID",
            type: "input",
            prop: "column",
            search: true
          },
          {
            label: "图书名称",
            prop: "column",
            type: "input",
            search: true
          },
          {
            label: "听书人数",
            prop: "column",
            type: "input",
          },
          {
            label: "听书总章节数",
            prop: "column",
            type: "input",
          },
          {
            label: "听书总时长(分钟)",
            prop: "column",
            type: "input",
          },
          {
            label: "选择日期",
            type: "daterange",
            format: "yyyy-MM-dd",
            valueFormat: "yyyy-MM-dd",
            hide: true,
            search: true,
          },
        ],
      },
    };
  },
  methods: {
  },
};
</script>